Automattic\WooCommerce\Admin\API\Notes S

Total Complexity 49
Dependencies 7
Dependents 0
Total lines 690
Lines of code 479
Logical lines of code 136
Comment lines 152
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
get_item_schema()
S
35 1 117
register_routes()
S
40 1 86
batch_update_items()
S
53 5 21
prepare_objects_query()
S
57 5 16
prepare_query_for_response()
S
59 5 15
get_collection_params()
S
41 1 71
prepare_item_for_response()
S
47 3 34
get_requested_updates()
S
62 4 13
get_item()
S
59 3 15
maybe_add_nonce_to_url()
S
66 3 9
get_items()
S
60 2 13
delete_item()
S
60 2 13
update_item()
S
61 2 12
delete_all_items()
S
63 2 10
update_items_permissions_check()
S
69 2 6
get_items_permissions_check()
S
69 2 6
track_opened_email()
S
68 2 7
get_item_permissions_check()
S
69 2 6
prepare_note_data_for_response()
S
73 1 5
undoremove_items()
S
75 1 4